Is Bluetooth Message Received
Function:
magicbox.get_bt_is_received(from_id, text)Description: determine whether the bluetooth message from the device is received. The API determines only once whether a bluetooth message is currently received
Required parameter:
- from_id: device ID, range: 0~255
- text: received message
- Return:
- True: The message has been received.
- False: The message failed to be received.
Example
magicbox.get_bt_is_received(from_id=1, text="hello")Determine whether the "hello" message is received by the bluetooth group (device id=1).